NestedPages\Entities\PostType\PostTypeRepository C

Total Complexity 119
Dependencies 1
Dependents 17
Total lines 486
Lines of code 281
Logical lines of code 212
Comment lines 144
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
sortOptionEnabled()
A
58 13 13
thumbnails()
A
54 11 18
defaultSortOption()
S
60 8 11
getSinglePostType()
S
50 6 29
postTypeSetting()
S
61 7 12
taxonomyDisabled()
S
60 7 11
fieldEnabled()
S
60 6 12
quickEditStatuses()
S
54 5 20
getPostTypesObject()
S
48 4 31
getAssignedPages()
S
65 6 8
getTaxonomies()
S
59 5 14
standardFieldDisabled()
S
63 5 9
hasSortOptions()
S
64 4 9
configuredFields()
S
65 4 9
getCustomFields()
S
59 3 13
thumbnailDisplaySize()
S
67 3 8
categoriesEnabled()
S
66 3 8
fieldsArray()
S
63 3 9
setEnabledPostTypes()
S
75 2 4
allPostsLink()
S
68 2 7
editSlug()
S
78 2 3
getMenuSlug()
S
78 2 3
getSubmenuText()
S
73 2 4
enabledPostTypes()
S
75 2 4
addNewPostLink()
S
79 1 3
trashLink()
S
79 1 3
getPostTypes()
S
78 1 3
__construct()
S
82 1 3